package com.yst.gateway.monitor.models;

import java.util.Date;

import org.hibernate.validator.constraints.Length;
import org.hibernate.validator.constraints.NotBlank;

import com.yst.gateway.monitor.common.validator.groups.Groups;





public class QzBusiness {
	
	@NotBlank(message="{business.id.NotBlank}",groups={Groups.Modify.class})
	private String businessId;
	
    @NotBlank(message="{business.name.NotBlank}")
    @Length(max=50,min=2)
	private String name;
	
	@NotBlank(message="{business.code.NotBlank}")
	@Length(max=50,min=2)
	private String code;
	
	private String memo;
	
	private Integer status;

    private Date ctime;

    private String creator;

    private Date utime;

    private String modifier;

    public String getBusinessId() {
        return businessId;
    }

    public void setBusinessId(String businessId) {
        this.businessId = businessId;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getCode() {
        return code;
    }

    public void setCode(String code) {
        this.code = code;
    }

    public String getMemo() {
        return memo;
    }

    public void setMemo(String memo) {
        this.memo = memo;
    }

    public Integer getStatus() {
        return status;
    }

    public void setStatus(Integer status) {
        this.status = status;
    }

    public Date getCtime() {
        return ctime;
    }

    public void setCtime(Date ctime) {
        this.ctime = ctime;
    }

    public String getCreator() {
        return creator;
    }

    public void setCreator(String creator) {
        this.creator = creator;
    }

    public Date getUtime() {
        return utime;
    }

    public void setUtime(Date utime) {
        this.utime = utime;
    }

    public String getModifier() {
        return modifier;
    }

    public void setModifier(String modifier) {
        this.modifier = modifier;
    }
}